package com.dmlll.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dmlll.VO.HospitalPurchaseInputVO;
import com.dmlll.domain.DrugMessage;
import com.dmlll.domain.HospitalCloseDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dmlll.domain.Purchase;
import com.dmlll.domain.PurchaseDrupDetail;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dmLll
 * @since 2021-03-31
 */
public interface HospitalCloseDetailMapper extends BaseMapper<HospitalCloseDetail> {

    IPage<PurchaseDrupDetail> getAvaCatalog(IPage<PurchaseDrupDetail> iPage, @Param("purchase") Purchase purchase,@Param("drugMessage") DrugMessage drugMessage,@Param("purchaseDrupDetail") PurchaseDrupDetail purchaseDrupDetail,@Param("hospitalPurchaseInput") HospitalPurchaseInputVO hospitalPurchaseInput,@Param("drugMessageIds") Integer[] drugMessageIds,@Param("purchaseIds") Integer[] purchaseIds);
}
